namespace TST.SharePoint.Shared
{
    public class FieldCalculated : Field
    {
        /// <summary>
        /// Constructor.
        /// </summary>
        public FieldCalculated()
        {
        }

        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="ID">The ID for the field.</param>
        public FieldCalculated(string Id)
            : base(Id)
        {
        }

        public override FilterType FilterType
        {
            get { return FilterType.Unknown; }
        }

        /// <summary>
        /// Get the FieldType for the calculated field.
        /// </summary>
        /// <returns></returns>
        public override FieldType FieldType
        {
            get
            {
                return FieldType.Calculated;
            }
        }

        /// <summary>
        /// Get the Result FieldType for the calculated field.
        /// </summary>
        /// <returns></returns>
        public virtual FieldType OutputFieldType
        {
            get
            {
                return FieldType.String;
            }
        }

    }
}